package com.dz.risk.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.dz.risk.pojo.QueryParams;
import com.dz.risk.pojo.domain.ProprietaryHoldingBondInformationEntity;

import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
import java.util.List;

/**
 * 自营持有债券信息-上游数据
 *
 * @author yinpl
 * @email 
 * @date 2021-07-07 17:38:44
 */
public interface ProprietaryHoldingBondInformationService extends IService<ProprietaryHoldingBondInformationEntity> {

    IPage<ProprietaryHoldingBondInformationEntity> query(QueryParams queryParams);

    ProprietaryHoldingBondInformationEntity queryByBondCode(String bondCode);

    List<ProprietaryHoldingBondInformationEntity> queryByVersion(Long version);

    void doExport(HttpServletResponse response, QueryParams queryParams) throws IOException;
}

